package org.jeecg.modules.complain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 投诉配置
 * @Author: jeecg-boot
 * @Date:   2019-09-03
 * @Version: V1.0
 */
@Data
@TableName("complain_status")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="complain_status对象", description="投诉配置")
public class ComplainStatus {
    
	/**编号*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "编号")
	private String id;
	/**管理投诉单id*/
	@Excel(name = "管理投诉单id", width = 15)
    @ApiModelProperty(value = "管理投诉单id")
	private String complainId;
	/**处理进度*/
	@Excel(name = "处理进度", width = 15)
    @ApiModelProperty(value = "处理进度")
	private Integer status;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**执行人ID*/
	private String handId;
	/**是否满意*/
/*	private Integer Isdegree;*/
	/**执行人真实姓名*/
	private String handrealname;
	/**删除标记*/
	@Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
	private String delFlag;
	/**投诉图片url*/
	@Excel(name = "投诉图片", width = 15)
    @ApiModelProperty(value = "投诉图片")
	private String picture;
	/**反馈内容*/
	private String returnContents;
	@TableField(exist = false)
	private String[] commentPicture;
}
